<template>
  <sky-base-page ref="basePageRef" :api-obj="qly.api.user.userxq"
                 :params="params" :auto-load="false" type="data" padding="0 0 12rpx">
    <template #default="{dataInfo}">
      <up-swiper
          :list="dataInfo.lifePhotos"
          height="400rpx"
      ></up-swiper>
      <sky-customer-card :dataInfo="dataInfo" :pid="params.pid">
      </sky-customer-card>

    </template>
  </sky-base-page>
</template>
<script setup>

const basePageRef = ref()

const params = ref({
  pid: ''
})


qly.page.onLoad(async (options) => {
  params.value.pid= options.pid
  // params.value.pid = 10002
  await nextTick()
  basePageRef.value.refresh()
})
</script>
<style scoped lang="scss">

</style>